@charset 'utf-8';
@import 'base.scss';
@import 'normalize.scss';
$w:10.8rem;

html {
    height: 100%;
}

body {
    font-size: 0.16rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 框架搭建 start */
header {
    width: $w;
    height: 1.46rem;
    background-color: #fff;
}

footer {
    width: $w;
    height: 1.28rem;
    background-color: #fafafa;
}

main {
    width: $w;
    flex: 1;
    background-color: #fff;
    overflow: hidden;

    .main-content {
        min-height: 101%;
        position: relative;

        .rgf-xiala {
            position: absolute;
            left: 0;
            right: 0;
            top: -0.5rem;
            height: 0.5rem;
            background-color: #666;
            line-height: 0.5rem;
            text-align: center;
            color: #fff;
            font-size: 0.32rem;

        }

        .rgf-shangla {
            position: absolute;
            left: 0;
            right: 0;
            bottom: -0.5rem;
            height: 0.5rem;
            background-color: #666;
            line-height: 0.5rem;
            text-align: center;
            color: #fff;
            font-size: 0.32rem;

        }
    }

}

/* 框架搭建 end */
/* header css start */
header {
    display: flex;
    align-items: center;
    div {
        width: 10.15rem;
        height: 0.88rem;
        background-color: #eee;

        border-radius: 0.4rem;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;

        .iconfont {
            font-size: 0.35rem;
        }

        input {
            height: 100%;
            box-sizing: border-box;
            padding-top: 0.1rem;

            &::placeholder {
                font-size: 0.35rem;
                color: #bbb;
            }
        }
    }
}

/* header css end */
/* main css start */
main {
    .rgf-banner {
        width: 10.15rem;
        height: 2.6rem;

        img {
            width: 100%;
            height: 100%;
        }

        .swiper-pagination-bullet {
            width: 0.25rem;
            height: 0.08rem;
            border-radius: 0;
            background-color: #fff;
        }
    }
    .rgf-tuijian{
        font-size:0.48rem ;
        padding-left: 0.33rem;
        padding-top: 0.35rem;
        padding-bottom: 0.25rem;
    }
    .rgf-con-nav{
        width: $w;
        height:0.95rem;
        ul{
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-around;
            li{
                font-size:0.35rem ;
                .iconfont{
                    font-size: 0.25rem;
                }
            }
        }
    }
    /* 列表页 */
    div.rgf-list{
        width: $w;
        ul{
            width: 100%;
            li{
                width: 100%;
                height:3.1rem ;
                padding-top: 0.25rem;
                box-sizing: border-box;
                padding-left: 0.33rem;
                padding-right: 0.33rem;
                display: flex;
                >img{
                    height: 2.13rem;
                }
                >div{
                    flex: 1;
                    padding-left: 0.2rem;
                    height: 100%;
                    >p:first-child{
                        font-size:0.4rem ;
                        padding-bottom: 0.15rem;
                    }
                    >p:nth-child(2){
                        font-size: 0.3rem;
                        img{
                            height: 0.3rem;
                        }
                        color: #666;
                        padding-bottom: 0.16rem;
                    }
                    >div:nth-child(3){
                        display: flex;
                        justify-content: space-between;
                        font-size: 0.3rem;
                        color: #666;
                        padding-bottom: 0.156rem;
                    }
                    >p:nth-child(4){
                        display: flex;
                        span{
                            width: 1.27rem;
                            height:0.48rem ;
                            text-align: center;
                            line-height: 0.48rem;
                            font-size: 0.25rem;
                            color:#d36872 ;
                            border: 1px solid #dbdbdb;
                            margin-right: 0.15rem;
                        }
                        i{
                            width:1.58rem ;
                            height:0.48rem ;
                            text-align: center;
                            line-height: 0.48rem;
                            font-size: 0.25rem;
                            color:#666 ;
                            border: 1px solid #dbdbdb;
                            margin-right: 0.15rem;
                        }
                    }
                }
                
            }
        }

    }


}

/* main css end */
/* footer css start */
footer{
    ul{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        li{
            text-align: center;
            .iconfont{
                font-size:0.44rem ;
                color: #a9a9a9;
            }
            font-size:0.27rem ;
            color: #a9a9a9;
            img{
                height:1rem ;
            }
            &.rgf-footer-active{
                .iconfont{
                color: #02b3ff;

                }
                transition:  all 1s;
                color: #02b3ff;
                transform: scale(1.2);
            }
        }
    }
}
.rgf-zhezhao{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba($color: #000000, $alpha: 0.5);
    >div{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        img{
            height: 5.45rem;
        }
        a{
            position: absolute;
            bottom: -1rem;
            left: 50%;
            transform: translate(-50%，0);
            width: 0.68rem;
            height: 0.68rem;
            text-align: center;
            line-height: 0.68rem;
            border: 1px solid #fff;
            color: #fff;
            font-size: 0.4rem;
            border-radius: 50%;
        }
    }
}

/* footer css end */